<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title><?= htmlspecialchars($D->page_title) ?></title>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" ></meta>    
    <link href="<?= $C->SITE_URL ?>themes/facebookish/css/inside.css" type="text/css" rel="stylesheet" />
    <link href="<?= $C->SITE_URL ?>themes/facebookish/css/global.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="<?= $C->SITE_URL ?>themes/facebookish/js/inside.js"></script>
    <script type="text/javascript" src="<?= $C->SITE_URL ?>themes/facebookish/js/inside_autocomplete.js"></script>
    <script type="text/javascript" src="<?= $C->SITE_URL ?>themes/facebookish/js/inside_postform.js"></script>
    <script type="text/javascript" src="<?= $C->SITE_URL ?>themes/facebookish/js/inside_posts.js"></script>
    <script type="text/javascript" src="<?= $C->SITE_URL ?>themes/facebookish/js/swfobject.js"></script>
    <?php if( $this->lang('global_html_direction') == 'rtl' ) { ?>
		<style type="text/css"> body { direction:rtl; } </style>
    <?php } ?>
</head>
<body>
    <div id="top-bar">
        <ul>
            <li>
                <a href="<?= $C->SITE_URL ?>signin" class="<?= $this->request[0]=='signin'?'onnav':'' ?>"><b>登录</b></a>		 			                
            </li>
            <li>
                <a href="<?= $C->SITE_URL ?>signup" class="<?= $this->request[0]=='signup'?'onnav':'' ?>"><b>免费注册</b></a>
            </li>           
        </ul>
    </div>
    <div id="page-container">        
        <div id="search-logo"></div>
        <div id="search-box">
            <span>
            <input type="text" name="lookfor" value="<?= isset($D->search_string)?htmlspecialchars($D->search_string):'' ?>" rel="autocomplete" autocompleteoffset="-6,4" />
            </span>
        </div>
        <div id="search-button">
            <span>
            <input type="button"  />
            </span>
        </div>        
        <div id="content-box" >
            <?=$D->posts_html ?>
        </div>
        <h1>热榜</h1>
        <div id="hot" class="bulletin"> 
            <h2>最热分享</h2>
        </div>
        <div id="goods" class="bulletin">
            <h2>最优宝贝</h2>
        </div>
        <div id="veteran" class="bulletin">
            <h2>分享达人</h2> 
        </div>
    </div>
</body>
</html>
